<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
  <style type="text/css"> 
<!-- 
a:link { 
font-size: 14px; 
color: #000000; 
text-decoration: none; 
} 
a:visited { 
font-size: 14px; 
color: #000000; 
text-decoration: none; 
} 
a:hover { 
font-size: 14px; 
color: #999999; 
text-decoration: underline; 
} 
--> 
</style>

  </head>
  
  <body>
    <form  name="f1" method="post" action="roleadd" onsubmit="return ck()">
						<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#BBD3EB">
                          	<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">角色名</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;<input type="text" id="title" name="title" size="50"/></td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">会议查看权限</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;
                            		<select id="notice" name="notice">
                            			<option value="1">是</option>
                            			<option value="0">否</option>
                            		</select>
                            	</td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">会议管理权限</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;
                            		<select id="noticeadd" name="noticeadd">
                            			<option value="1">是</option>
                            			<option value="0">否</option>
                            		</select>
                            	</td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">人员履历权限</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;
                            		<select id="userrcd" name="userrcd">
                            			<option value="1">是</option>
                            			<option value="0">否</option>
                            		</select>
                            	</td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">转正审批权限</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;
                            		<select id="zzsp" name="zzsp">
                            			<option value="1">是</option>
                            			<option value="0">否</option>
                            		</select>
                            	</td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">离职审批权限</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;
                            		<select id="lzsp" name="lzsp">
                            			<option value="1">是</option>
                            			<option value="0">否</option>
                            		</select>
                            	</td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">请假审批权限</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;
                            		<select id="qjsp" name="qjsp">
                            			<option value="1">是</option>
                            			<option value="0">否</option>
                            		</select>
                            	</td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">考勤统计权限</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;
                            		<select id="kqtj" name="kqtj">
                            			<option value="1">是</option>
                            			<option value="0">否</option>
                            		</select>
                            	</td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">部门管理权限</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;
                            		<select id="dept" name="dept">
                            			<option value="1">是</option>
                            			<option value="0">否</option>
                            		</select>
                            	</td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">用户管理权限</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;
                            		<select id="user" name="user">
                            			<option value="1">是</option>
                            			<option value="0">否</option>
                            		</select>
                            	</td>
    						</tr>
    						<tr>
                            	<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF">权限管理权限</td>
                            	<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;
                            		<select id="qxgl" name="qxgl">
                            			<option value="1">是</option>
                            			<option value="0">否</option>
                            		</select>
                            	</td>
    						</tr>
    						<tr>
    							<td height="27" align="center" background="/OA/admin/images/index1_72.gif" bgcolor="#FFFFFF"></td>
    							<td bgcolor="#FFFFFF">&nbsp;&nbsp;&nbsp;<input type="submit" value="提交"/></td>
    						</tr>
                            <script language="javascript">
                              function ck(){
                            	if(f1.title.value==""){
                            		alert("角色名不能为空");
                            		return false;
                            	}
                            	alert("操作成功");
                            }
                            </script>
  </body>
</html>
